import request from "../utils/request";

// 公司-->获取公司总数
export const getCompanyCount = (params) => {
  let url = "/api/v1/company/company-total";
  return request.get(url, { params });
}

// 公司-->获取公司列表
export const getCompanyList = (params) => {
  let url = "/api/v1/company/company-list?page=1&size=5";
  return request.get(url, { params });
}

// 公司-->获取公司详情
export const getCompanyDetail = (params) => {
  let url = "/api/v1/company/company-info";
  return request.get(url, { params });
}